<template>
	<view>
		<navigator url="../detail/detail">跳转到详情页</navigator>
		<navigator open-type="switchTab" url="../message/message">跳转到信息页</navigator>
		<button @click="getDetail">跳转到详情页</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			getDetail(){
				uni.navigateTo({
					url: "../detail/detail"
				})
			}
			
		}
	}
</script>

<style>

</style>
